<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="wap-font-scale" content="no">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=0">
    <meta http-equiv="Access-Control-Allow-Origin" content="*">
    <meta name="keywords" content="">  
    <meta name="description" content="">
	<title>我的信息</title>
    <link rel="stylesheet" href="__INDEX__/css/index.css">
    <link rel="stylesheet" href="__INDEX__/css/public.css">
    <link rel="stylesheet" href="__INDEX__/css/footer.css">
    <script src="__INDEX__/js/jquery.min.js"></script>
    <script src="__INDEX__/js/rem.js" type="text/javascript"></script>
</head>

<body> 
<div class="container"></div>
<div class="myself_title">
    <div class="head_img">
        <img src="{$Think.session.headimgurl}" alt="">
        <div>
            <div class="user">
                <span>用户：</span>
                <span>{$Think.session.nickname}</span>
            </div>
<!--             <div class="user">
                <span>账户</span>
                <span>130000**122</span>
            </div> -->
        </div>
    </div>
    <div class="jifen">
        <div>
            <div>累计积分</div>
            <div>{$ljjf}分</div>
        </div>
        <div>
            <div>可提现积分</div>
            <div>{$txjf}分</div>
        </div>
    </div>
    <a class="tx" href="{:url('Withdraw/index')}">提现   ></a>
</div>

<div class="Detailed">
    <img src="__INDEX__/img/Detailed.png" alt="">
    <span>我的任务清单</span>
</div>


<div class="yijing">
    <div>您已经邀请了<span style="color: #ff6d2f">{$tj_count}</span>个好友</div>
    <div>您分享的文章已经产生<span style="color: #ff6d2f">{$fx_count}</span>个阅读量</div>
</div>

<div class="Detailed Budget">
    <img src="__INDEX__/img/Budget.png" alt="">
    <span>我的收支明细</span>
</div>



<ul class="bable"><li>日期</li><li>任务</li><li>积分收入</li></ul>
{foreach name="list" item="v"}
<ul class="bable table">
    <li>{$v.add_time|date="Y-m-d",###}</li>
    {if condition="($v.type eq 1)"}
    <li>邀请好友</li>
    {else/}
    <li>阅读分享</li>
    {/if}
    <li>{$v.fen}积分</li>
</ul>
{/foreach}


<div class="footer">
    <a href="{:url('Index/index')}">
        <img src="__INDEX__/img/dating1.png" alt="">
        <div class="selected">大厅</div>
    </a>
    <a href="{:url('Center/index')}">
        <img src="__INDEX__/img/myselft.png" alt="">
        <div>我的</div>
    </a>
</div>
</body>
<script>


//确认
function confirm(){
    $('.tc').hide();
    $('.container').hide();
}
//取消
function cancel(){
    $('.tc').hide();
    $('.container').hide();
}
//无效
function invalid(e){
    $.ajax({
        url: '',
        type: 'post',
        data:{
        },
        //  async : true, //默认为true 异步
        dataType:'json',
        success: function (data) {
            console.log(data);

        },
        error: function () {

        }
    });
}

//轮播新闻
function timer(opj){
    $(opj).find('ul').animate({
        marginTop : "-0.5rem"  
        },500,function(){  
        $(this).css({marginTop : "0rem"}).find("li:first").appendTo(this);  
    })  
}
$(function(){ 
    var num = $('.animate').find('span').length;
    if(num > 1){
       var time=setInterval('timer(".animate")',3500);
    }
    
});


(function(){
    console.log(location.href)
    if(location.href == 'http://traffic.douyar.cc/index.php/index/center/index.html'){
        $('.footer a').eq(0).find('div').removeClass('selected');
        $('.footer a').eq(1).find('div').addClass('selected');
        $('.footer a').eq(1).find('img').attr('src','/public/upload/index/img/myself1.png');
        $('.footer a').eq(0).find('img').attr('src','/public/upload/index/img/dating.png');
    }
})()
</script>
</html>













